package com.jrx.anytxn.transaction.dto.payment;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Size;
import java.io.Serializable;

/**
 * 客户日终账户处理请求实体
 *
 * @author liuyang
 * @date 2020-09-15
 **/
@ApiModel(value = "客户日终账户处理请求实体", description = "客户日终账户处理请求实体")
public class DealCustBatchReq implements Serializable {

    /**
     * 客户id
     */
    @ApiModelProperty(value = "客户id", required = true)
    @NotEmpty(message = "客户id不可为空")
    private String customerId;

    /**
     * 机构id
     */
    @ApiModelProperty(value = "机构id", required = true)
    @NotEmpty(message = "机构id不可为空")
    private String organizationId;

    /**
     * 租户ID
     **/
    @ApiModelProperty(value = "租戶id", required = true)
    @Size(max = 4, message = "租戶id不能超过4位")
    @NotEmpty(message = "租戶id不可空")
    private String tenantId;

    public String getCustomerId() {
        return customerId;
    }

    public void setCustomerId(String customerId) {
        this.customerId = customerId;
    }

    public String getOrganizationId() {
        return organizationId;
    }

    public void setOrganizationId(String organizationId) {
        this.organizationId = organizationId;
    }

    public String getTenantId() {
        return tenantId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }
}
